﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DetailOtherService.ascx.cs" Inherits="Modules_DetailOtherService" %>
<div id="box">
    <h3>CẬP NHẬT THÔNG TIN DỊCH VỤ KHÁC</h3><br />
    
    <div align="center"><asp:Label ID="lblError" runat="server" /></div><br />    
    
    <fieldset id="personal">
        <legend class="lbl">Thông tin mã</legend>
        <label>Mã chính : </label> 
        <asp:TextBox ID="txtCmd" runat="server" Width="210px" Text="BET" /><br />

        <label>Mã phụ : </label>
        <asp:TextBox ID="txtCode" runat="server" Width="210px" /><br />

        <label>Tham số : </label>
        <asp:TextBox ID="txtParam" runat="server" Width="210px" /><br />
               
    </fieldset><br />
    
    <fieldset>
        <label>Tổng số tin trả về: </label>
        <asp:TextBox ID="txtTotalMsg" runat="server" Width="50px" Text="1" />&nbsp;<i>(Nhập tay hoặc tự động, tùy theo số tin trả về)</i><br />
        
        <asp:CheckBox ID="chkStatus" runat="server" Text="Kích hoạt ngay" Checked="true" /><br />
    </fieldset>
    
    <fieldset>
        <legend class="lbl">Nội dung tin nhắn trả về</legend>
        
        <label>Tin nhắn 1 : </label>
        <asp:TextBox ID="txtContent1" runat="server" Width="350px" Height="100px" TextMode="MultiLine" onkeypress='document.getElementById("content1").innerHTML=160-this.value.length' />
        <span id="content1"></span><br /><br />
        
        <label>Tin nhắn 2 : </label>
        <asp:TextBox ID="txtContent2" runat="server" Width="350px" Height="100px" TextMode="MultiLine" onkeypress='document.getElementById("content2").innerHTML=160-this.value.length' />
        <span id="content2"></span><br /><br />
        
        <label>Tin nhắn 3 : </label>
        <asp:TextBox ID="txtContent3" runat="server" Width="350px" Height="100px" TextMode="MultiLine" onkeypress='document.getElementById("content3").innerHTML=160-this.value.length' />
        <span id="content3"></span><br /><br />
            
        <label>Tin nhắn 4 : </label>
        <asp:TextBox ID="txtContent4" runat="server" Width="350px" Height="100px" TextMode="MultiLine" onkeypress='document.getElementById("content4").innerHTML=160-this.value.length' />
        <span id="content4"></span><br /><br />
        
        <label>Tin nhắn 5 : </label>
        <asp:TextBox ID="txtContent5" runat="server" Width="350px" Height="100px" TextMode="MultiLine" onkeypress='document.getElementById("content5").innerHTML=160-this.value.length' />
        <span id="content5"></span>

    </fieldset>
    
    <div align="center">
        <asp:Button ID="btnSaveTop" runat="server" Text="Cập nhật" OnClick="lnkAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnClearTop" runat="server" Text="Xóa trắng" OnClick="lnkClear_Click" CssClass="btn" />
    </div>
    
    <fieldset id="opt">
        <legend for="opt">Thông tin khác</legend>
        
        <label>Đầu số : </label>
        <asp:DropDownList ID="ddlServiceID" runat="server">
            <asp:ListItem Text="8078" Value="8078"></asp:ListItem>
            <asp:ListItem Text="8178" Value="8178"></asp:ListItem>
            <asp:ListItem Text="8278" Value="8278"></asp:ListItem>
            <asp:ListItem Text="8378" Value="8378"></asp:ListItem>
            <asp:ListItem Text="8478" Value="8478"></asp:ListItem>
            <asp:ListItem Text="8578" Value="8578"></asp:ListItem>
            <asp:ListItem Text="8678" Value="8678"></asp:ListItem>
            <asp:ListItem Text="8778" Value="8778"></asp:ListItem>
        </asp:DropDownList><br />
        
        <label>Cách tính phí : </label>
        <asp:DropDownList ID="ddlMsgType" runat="server">
            <asp:ListItem Text="0 - Phát sinh từ dịch vụ, không tính tiền" Value="0"></asp:ListItem>
            <asp:ListItem Text="1 - Tính cước khi đến SMSC" Value="1" Selected="True"></asp:ListItem>
            <asp:ListItem Text="2 - Không hợp lệ, không trừ tiền" Value="2"></asp:ListItem>
            <asp:ListItem Text="3 - Trừ tiền ngay" Value="3"></asp:ListItem>
        </asp:DropDownList><br />
        
        <label>Dạng tin : </label>
        <asp:DropDownList ID="ddlContentType" runat="server">
            <asp:ListItem Text="0 - Text" Value="0" Selected="True"></asp:ListItem>
            <asp:ListItem Text="1 - Ringtone" Value="1"></asp:ListItem>
            <asp:ListItem Text="2 - Logo" Value="2"></asp:ListItem>
            <asp:ListItem Text="3 - CLI-ICON" Value="3"></asp:ListItem>
            <asp:ListItem Text="4 - Picture Message" Value="4"></asp:ListItem>
            <asp:ListItem Text="5 - Cute Text (UTF16)" Value="5"></asp:ListItem>
            <asp:ListItem Text="6 - MMS Notify" Value="6"></asp:ListItem>
            <asp:ListItem Text="7 - WAP Bookmark" Value="7"></asp:ListItem>
            <asp:ListItem Text="8 - WAP Indicator" Value="8"></asp:ListItem>
            <asp:ListItem Text="9 - Bussiness Card" Value="9"></asp:ListItem>
            <asp:ListItem Text="10 - vCalendar" Value="10"></asp:ListItem>
        </asp:DropDownList><br />
        
    </fieldset><br />
    
    <div align="center">
        <asp:Button ID="lnkAdd" runat="server" Text="Cập nhật" OnClick="lnkAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="lnkCancel" runat="server" CssClass="btn" Text="Quay lại danh sách" OnClick="lnkCancel_Click" />
    </div>
</div>